home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / opalvisn / lsidocs.lha / Include / Opal / OpalPaint.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-28  |  2.0 KB  |  76 lines

  1. #ifndef OPALPAINT_H
  2. #define OPALPAINT_H
  3.  
  4.  
  5. #define OPVERSION    2
  6. #define OPREVISION    2
  7.  
  8. #define OPBLACK        0L
  9. #define OPGREY        1L
  10. #define OPBLUE        2L
  11. #define OPWHITE        3L
  12.  
  13.  
  14. enum DrawModes
  15.     { Paint, Additive, Subtractive, Negative, Shade,
  16.       Posterise, Gamma, Brilliance, Contrast, Colour, Hue,
  17.       TintH, TintHS, Colourise, Sharpen, Smooth, Smear,
  18.       Mosaic, Spare1, Spare2, Spare3, Spare4, UndoPaint
  19.     };
  20.  
  21. enum ToolTypes
  22.     { FreeHand,Continuous,Line,Rectangle,SolidRect,
  23.       Ellipse, SolidEllipse, Poly, SolidPoly, Curve,
  24.       FloodFill, SolidContinuous, ResizeBrush,
  25.       RotateBrush, DefineRange, GridAdjust,TextureAdjust,
  26.       DefBrushResize, PlaceHandle, ShearH, ShearV, BendH,
  27.       BendV, MagicWand
  28.     };
  29.  
  30.  
  31.     /* TagITems for Build_Req_Tags() */
  32. #define OPBR_Dummy        (TAG_USER | 32)
  33. #define OPBR_Width        (OPBR_Dummy + 1)
  34. #define OPBR_Height        (OPBR_Dummy + 2)
  35. #define OPBR_Flags        (OPBR_Dummy + 3)
  36. #define OPBR_IText        (OPBR_Dummy + 4)
  37. #define OPBR_Gadgets        (OPBR_Dummy + 5)
  38. #define OPBR_GadFunc        (OPBR_Dummy + 6)
  39. #define OPBR_InitFunc        (OPBR_Dummy + 7)
  40. #define OPBR_MouseMoveFunc    (OPBR_Dummy + 8)
  41. #define OPBR_HelpX        (OPBR_Dummy + 9)
  42. #define OPBR_HelpY        (OPBR_Dummy + 10)
  43. #define OPBR_AGuideName        (OPBR_Dummy + 11)
  44. #define OPBR_Context        (OPBR_Dummy + 12)
  45.  
  46.  
  47. /* Flags for Build_Request() */
  48. #define BRF_CANCEL    0x1        /* Include Cancel gadget    */
  49. #define BRF_GADGETS     0x8        /* Contains other misc gadgets    */
  50. #define BRF_RETURN      0x10        /* Don't handle messages    */
  51. #define BRF_MBUTTONS    0x20        /* Signal on mouse presses    */
  52. #define BRF_NOOK    0x40        /* No ok gadget            */
  53. #define BRF_ALLOWRMB    0x80        /* Allow RMB presses on gadgets */
  54. #define BRF_BIGGADS    0x100        /* Use larger OK & Cancel gads    */
  55. #define BRF_GADHELP    0x200        /* Gadget help text.        */
  56. #define BRF_MEDGADS    0x400
  57. #define BRF_FORCETOP    0x800        /* Place Requester at line 0    */
  58. #define BRF_DRAGABLE    0x1000
  59. #define BRF_AMIGAGUIDE    0x2000
  60.  
  61. #ifndef DRAWMODES_H
  62. #include "opal/drawmodes.h"
  63. #endif
  64.  
  65. #ifndef ARTISTTOOLS_H
  66. #include "opal/atool.h"
  67. #endif
  68.  
  69. #ifndef PAPER_H
  70. #include "opal/paper.h"
  71. #endif
  72.  
  73. #endif
  74.  
  75.  
  76.